package User.FunctionPkg;

import User.UserWin;
import Warning.ShowUI;

import javax.swing.*;
import java.awt.*;

public class ShowAppPanel {
    private JFrame panel;
    public ShowAppPanel(String name, String user, UserWin win){
        if(name.equals("数据调查")){
            new Research(user,win);
        }
        if(name.equals("百科搜索")){
           new SearchLib();
        }
        if(name.equals("数据解析")){
            new Data_Analysis(user);
        }
        if(name.equals("个人数据库")){
            new OwnDatabase(user);
        }
    }
}
